package apps.json;

public class Student {

    private String name;
    private String dob;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDob() {
        return dob;
    }

    public void setDob(String dob) {
        this.dob = dob;
    }

    public String toString() {
        StringBuilder buffer = new StringBuilder("{")
              .append("name:").append(name)
              .append(",dob:").append(dob)
              .append("}");
        return buffer.toString();
    }
}
